﻿using EmbedIO;
using EmbedIO.Routing;
using EmbedIO.WebApi;

namespace SSC.WebApi
{
    /// <summary>
    /// 示例 API 控制器
    /// </summary>
    public class ApiController : WebApiController
    {
        [Route(HttpVerbs.Get, "/status")]
        public object GetStatus()
        {
            return new { Status = "OK", Time = DateTime.Now };
        }
    }
}
